package com.aaa.docter.feign;

import com.aaa.common.entity.User;
import com.aaa.common.vo.Result;
import com.aaa.docter.feign.factory.UserFeignFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;
import java.util.Map;

/**
 * @program: aaa-hospital-parent
 * @description:
 * @author: 闫克起
 * @create: 2024-05-24 16:58
 **/
@FeignClient(value = "hospital-system",fallbackFactory = UserFeignFactory.class)
public interface UserFeign {
    @PostMapping("/system/user/getScheduling")
    public Result<List<User>> getScheduling(@RequestBody Map<String,Object> map);

}
